import {
	httpGet,
	httpPost
} from "../utils/request"
//账号密码登录
export const userloginApi = (data) => {
	return httpPost('/residents/login', data)
}
//获取手机号码登录
export const loginByPhoneApi = (data) => {
	return httpPost('/residents/loginByPhone', data)
}
//获取当前登录用户信息
export const getUserInfoApi = (data) => {
	return httpGet('/residents/getUserInfo', data)
}
//获取一个居民详情
export const getResidentsDetailApi = (data) => {
	return httpGet('/residents/detail', data)
}